import type { RouteRecordRaw } from "vue-router";
import type {CategoryObj} from "../../../api/product/attr/type";
// 定义小仓库数据state类型
export interface UserStater {
  token: string | null;
  userInfo: {};
  menuRoutes: RouteRecordRaw[];
  avatar: string;
  userName: string;
  buttons: string[];
}

// 定义分类仓库state对象的ts类型
export interface CategorStater {
  c1Id: string | number;
  c2Id: string | number;
  c3Id: string | number;
  c1List: CategoryObj[];
  c2List: CategoryObj[];
  c3List: CategoryObj[];
}
